home *** CD-ROM | disk | FTP | other *** search
- function InitColors()
- {
- _parent.SetWCO(this.F);
- _parent.SetWBarC(this.tbR);
- _parent.SetWBarC(this.tbG);
- _parent.SetWBarC(this.tbB);
- _parent.SetWBarC(this.tbV);
- _parent.SetWCR(this.rN._b);
- _parent.SetWCR(this.rE._b);
- _parent.SetWCR(this.rM._b);
- _parent.SetWCR(this.cbAS._b);
- _parent.SetWCR(this.cbBA._b);
- _parent.SetWCR(this.cbS._b);
- _parent.SetWCR(this.cbLQ._b);
- _parent.SetWRectC(this.b1);
- _parent.SetWRectC(this.b2);
- _parent.SetWRectC(this.b3);
- }
- function SDrag(AN)
- {
- if(AN == "tbR" || AN == "tbG" || AN == "tbB")
- {
- _parent.vDColor = (int((this.tbR._bb._x - 16) / 128 * 255 + 0.5) << 16) + (int((this.tbG._bb._x - 16) / 128 * 255 + 0.5) << 8) + int((this.tbB._bb._x - 16) / 128 * 255 + 0.5);
- _parent.ColorMake(_parent.vDColor);
- _parent.SetMainWC();
- InitColors();
- }
- }
- function BCancel()
- {
- _parent.ColorMake(vvDColor);
- _parent.SetMainWC();
- InitColors();
- }
- vvDColor = _parent.vDColor;
- InitColors();
-